'use strict';

function calculate_elements_sum(collection, element) {
 var arr= collection.lastIndexOf(element);
 console.log(arr);
 return arr;//在这里写入代码
}

module.exports = calculate_elements_sum;
